
<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container">
		<a class="logo" href="<?php echo $this->homeUrl; ?>"><img src="<?php echo $this->baseUrl('img/main/logoyoutajeer.png')?>" /></a><small>BETA</small>
			<?php if(!$this->statusConn): ?>
			<ul class="nav pull-right">
				<li>
				<a href="<?php echo $this->signInLink; ?>"><?php echo $this->translate('Sign in'); ?></a>
				</li>
				<li class="divider-vertical"></li>
				<li>
				<a href="<?php echo $this->registerLink; ?>"><?php echo $this->translate('Sign up'); ?></a>
				</li>
			</ul>
			<?php endif;?>
			<?php if($this->statusConn): ?>
			<ul class="nav pull-right">
				<li class="dropdown">
				<a class="dropdown-toggle" data-toggle="dropdown" href="#">
				<?php echo $this->translate('Add'); ?>
				<b class="icon-plus"></b>
				</a>
					<ul class="dropdown-menu">
						<li class="nav-header"><?php echo $this->translate('Vehicle'); ?></li>
						<li>
						<a href="<?php echo $this->baseUrl('object/car'); ?>"><?php echo $this->translate('Car'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/motorcycle'); ?>"><?php echo $this->translate('MotorCycle'); ?></a>
						</li>
						<li class="divider"></li>
						<li class="nav-header"><?php echo $this->translate('Real Estate'); ?></li>
						<li>
						<a href="<?php echo $this->baseUrl('object/house'); ?>"><?php echo $this->translate('House'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/apartment'); ?>"><?php echo $this->translate('Apartment'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/land'); ?>"><?php echo $this->translate('Land'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/parking'); ?>"><?php echo $this->translate('Parking'); ?></a>
						<li class="divider"></li>
						<li class="nav-header"><?php echo $this->translate('High tech'); ?></li>
						<li>
						<a href="<?php echo $this->baseUrl('object/desktop'); ?>"><?php echo $this->translate('Desktop computer'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/laptop'); ?>"><?php echo $this->translate('Laptop'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/phone'); ?>"><?php echo $this->translate('Phone'); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->baseUrl('object/tv'); ?>"><?php echo $this->translate('TV'); ?></a>
						</li>
						<li class="divider"></li>
						<li class="nav-header"><?php echo $this->translate('Fashion'); ?></li>
						<li>
						<a href="<?php echo $this->baseUrl('object/clothing'); ?>"><?php echo $this->translate('Clothing'); ?></a>
						<li class="divider"></li>
						<li class="nav-header"><?php echo $this->translate('Other'); ?></li>
						<li>
						<a href="<?php echo $this->baseUrl('object/book'); ?>"><?php echo $this->translate('Book'); ?></a>
						<a href="<?php echo $this->baseUrl('object/other'); ?>"><?php echo $this->translate('Other'); ?></a>
						</li>
					</ul>
				</li>
				<li class="divider-vertical"></li>
				<li class="dropdown">
				<a class="avatar" data-toggle="dropdown" href="#">
				<img class="img-rounded" src="<?php echo $this->baseUrl('img/profil/'.$this->user->getAvatar());?>" style="width: 35px; height: 35px;"></img>
				</a>
					<ul class="dropdown-menu">
						<li>
						<a href="<?php echo $this->profilLink; ?>"><i class="icon-user"></i> <?php echo $this->user->getFirstName()." ".$this->user->getLastName(); ?></a>
						</li>
						<li>
						<a href="<?php echo $this->myobjectsLink; ?>"><i class="icon-briefcase"></i> <?php echo $this->translate('My objects'); ?></a>
						</li>
						<li class="divider"></li>
						<li>
						<a href="<?php echo $this->logoutLink; ?>"><i class="icon-off"></i> <?php echo $this->translate('Logout'); ?></a>
						</li>
					</ul>
				</li>
				<li class="divider-vertical"></li>
			</ul>
			<?php endif;?>
		</div>
	</div>
</div>